package com.example.sport;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class TimeActivity3 extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_time3);

        Button btn1=(Button) findViewById(R.id.bn3_voice);
        btn1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent2=new  Intent();
                intent2.setClass(TimeActivity3.this,MusicActivity.class);
                startActivity(intent2);
            }
        });
        Button btn2=(Button) findViewById(R.id.bn3_beginRest1);
        btn2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent3=new  Intent();
                intent3.setClass(TimeActivity3.this,TimeActivity4.class);
                startActivity(intent3);
            }
        });


    }
}